<template>
    <div class="login flex-center-col">
        <h2>登录页</h2>
        <button @click="goEitor">goEitor</button>
    </div>
</template>
<script lang="ts" setup>
import { router } from '@/router/index';

const goEitor = () => {
    router.push({ name: 'eidtor' });//router.push ('/eidtor');
}
</script>

<style lang="scss" scoped type="text/css">
.login {
    width: 100vw;
    height: 100vh;
}
</style>